<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    
    <style>
    .box{
        width: 150px;height: 150px;
        position: relative;
        overflow: hidden;
    }
    .bg-img{
        width: 150px;height: 150px;
        background: url("images/item20.jpg") no-repeat center center;
        background-size: cover;
        
    }
    .cover{
        width: 150px;
        height: 150px;
        position: absolute;
        left: 0;top: 0;
        background: rgba(240, 128, 114, 0.35);
        transform:skew(30deg,20deg);
        /* transform: rotate(90deg); */
        transition: all 0.85s;
        transform-origin: left bottom;
        
    }
    .box:hover .cover{
        transform: rotate(0deg);
    }
    </style>
</head>
<body>
    <div class="box">
        <div class="bg-img"></div>
        <div class="cover"></div>
    </div>
</body>
</html>